  const imgDoms = document.querySelectorAll('img') 
  imgDoms.forEach(e=>{
let currentSrc = e.src
let endStr = currentSrc.slice(currentSrc.lastIndexOf('/'))
e.src = './img' + endStr
})